package com.cnhis.cloudhealth.clinical.hosnurse.hoschangeresidentinformation.dao;

import java.util.List;
import java.util.Map;

import javax.ws.rs.FormParam;

import org.springframework.stereotype.Repository;

import com.cnhis.cloudhealth.commons.Mappers.ModelVo;
import com.cnhis.cloudhealth.commons.dao.BaseDao;
@SuppressWarnings({"rawtypes"})
@Repository
public class ChangeResidentInformationDao extends BaseDao{
	public int checkParams(Map map)throws Exception{
		return (int) queryForExtObject("ChangeResidentInformation.checkParams", map);
	}
	public int checkParams1(Map map)throws Exception{
		return (int) queryForExtObject("ChangeResidentInformation.checkParams1", map);
	}
	public Map getOfficeId(Map map)throws Exception{
		return (Map) queryForExtObject("ChangeResidentInformation.getOfficeId", map);
	}
	public void updateBCQ1_VAE1_VBO1(Map map)throws Exception{
		update("ChangeResidentInformation.updateBCQ1_VAE1_VBO1", map);
	}
	
	public int checkParams2(Map map)throws Exception{
		return (int) queryForExtObject("ChangeResidentInformation.checkParams2", map);
	}
	
	public void updateVAM31(Map map)throws Exception{
		update("ChangeResidentInformation.updateVAM31", map);
	}
    public void insertVAM31(Map map)throws Exception{
		insert("ChangeResidentInformation.insertVAM31", map);
	}
    public void updateVAO11(Map map)throws Exception{
    	update("ChangeResidentInformation.updateVAO11", map);
    }
    
    
   public void updateVAM27(Map map)throws Exception{
	   update("ChangeResidentInformation.updateVAM27", map);
	}
    public void insertVAM27(Map map)throws Exception{
    	insert("ChangeResidentInformation.insertVAM27", map);
	}
    public void updateVAO12(Map map)throws Exception{
    	update("ChangeResidentInformation.updateVAO12", map);
    }
    
    public void updateVAMA4(Map map)throws Exception{
 	   update("ChangeResidentInformation.updateVAMA4", map);
 	}
     public void insertVAMA4(Map map)throws Exception{
     	insert("ChangeResidentInformation.insertVAMA4", map);
 	}
     public void updateVAO15(Map map)throws Exception{
     	update("ChangeResidentInformation.updateVAO15", map);
     }
     
     public void updateVAMA5(Map map)throws Exception{
   	   update("ChangeResidentInformation.updateVAMA5", map);
   	}
       public void insertVAMA5(Map map)throws Exception{
       	insert("ChangeResidentInformation.insertVAMA5", map);
   	}
       public void updateVAO16(Map map)throws Exception{
       	update("ChangeResidentInformation.updateVAO16", map);
       }
       
       public int checkParams3(Map map)throws Exception{
   		return (int) queryForExtObject("ChangeResidentInformation.checkParams3", map);
   	}
       
       
       
       public void updateVBM2_BEP07(Map map)throws Exception{
       	   update("ChangeResidentInformation.updateVBM2_BEP07", map);
       	}
           public void insertVBM2(Map map)throws Exception{
           	insert("ChangeResidentInformation.insertVBM2", map);
       	}
           public void updateVAO1(Map map)throws Exception{
           	update("ChangeResidentInformation.updateVAO1", map);
           }
           public List queryCareLevel()throws Exception{
        	   return queryForList("ChangeResidentInformation.queryCareLevel", null);
           }
           public List queryPatientCondition()throws Exception{
        	   return queryForList("ChangeResidentInformation.queryPatientCondition", null);
           }
           public List queryInHospitalDoctor(Map map)throws Exception{
        	   return queryForList("ChangeResidentInformation.queryInHospitalDoctor", map);
           }
           public String paramValue()throws Exception{
        	   return (String) queryForExtObject("ChangeResidentInformation.paramValue", null);
           }
           public List dutyNurse(Map map)throws Exception{
        	   return queryForList("ChangeResidentInformation.dutyNurse", map);
           }
           public List queryAttendDoctor(Map map)throws Exception{
        	   return queryForList("ChangeResidentInformation.queryAttendDoctor", map);
           }
           public List queryChairManDoctor(Map map)throws Exception{
        	   return queryForList("ChangeResidentInformation.queryChairManDoctor", map);
           }
           public List queryOneLevel(Map map)throws Exception{
        	   return queryForList("ChangeResidentInformation.queryOneLevel", map);
           }
       	
        	public List queryTwoLevel(Map map)throws Exception{
        		return queryForList("ChangeResidentInformation.queryTwoLevel", map);
        	}
}
